package com.chrissy.music.common.request;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 * @author Johnson
 */
@Data
@Schema(description = "登录请求")
public class SysLoginRequest {

    @Schema(description = "唯一标识")
    @NotBlank(message = "唯一标识不能为空")
    private String uuid;

    @Schema(description = "验证码")
    @NotBlank(message = "验证码不能为空")
    private String code;

    @Schema(description = "用户名")
    @NotBlank(message = "用户名不能为空")
    private String username;

    @Schema(description = "密码")
    @NotBlank(message = "密码不能为空")
    private String password;


}
